home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: miker3@ix.netcom.com (Mike Rubenstein)
- Newsgroups: comp.lang.c
- Subject: Re: Help with simple code
- Date: Wed, 24 Jan 1996 23:01:02 GMT
- Organization: Netcom
- Message-ID: <3106b9b0.5366272@nntp.ix.netcom.com>
- References: <4dbak5$oij@ionews.io.org> <00001a80+00007168@msn.com>
- NNTP-Posting-Host: ix-dc8-16.ix.netcom.com
- X-NETCOM-Date: Wed Jan 24 3:01:07 PM PST 1996
- X-Newsreader: Forte Agent .99c/16.141
-
- Vtrap@msn.com (Ronald Bennett) wrote:
-
- > I think that your function 'pow' would have to be defined prior to
- > your main function since it is not defined in the two standard
- > libraries that were included in your program. Try writing a function
- > called 'pow'. In that function you will have to write to formula you
- > want to use in your main function. This will define the function
- > 'pow'. Otherwise, 'pow' will be treated as a varible and therefore
- > would have to be declared in the main fuction. I hope this answers
- > your question.
-
- Why do you think that? pow is a standard library function that is
- declared in <math.h>.
-
-
- Michael M Rubenstein
-